﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TaskBuild.aspx.cs" Inherits="MyWindow_TaskBuild" %>

<%@ Register Src="../UserControls/PopupSelect.ascx" TagName="PopupSelect" TagPrefix="uc1" %>
<%@ Register Src="../UserControls/GeneralSelect.ascx" TagName="GeneralSelect" TagPrefix="uc2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>业务受理</title>
    <link rel="stylesheet" type="text/css" href="../css/page.css" />
    <script src="../ScriptFile/jquery.js"></script>

</head>
<script type="text/javascript">
    function changeSerialType() {
        var strTemp = $("#ddlSerialType  option:selected").text(); 
        var strSpecial = "<%=ExtBusiness.SystemConfig.SpecialFlowName%>";

        if (strSpecial.indexOf(strTemp) > -1) {
            $("#trTjyt").show();
        }
        else {
            $("#trTjyt").hide();
        }
    }

</script>
<body onload="changeSerialType()">
    <form id="form1" runat="server">
        <div style="text-align: center; margin: 0px auto; width: 60%; padding-top: 20px;">
            <div class="box_top_bar">
                <div class="box_top_left">
                    <div class="box_top_right">
                        <div class="box_top_text">
                            办件受理
                        </div>
                    </div>
                </div>
            </div>
            <div class="box_middle" style="width: 100%">
                <table width="90%" border="0" cellpadding="0" cellspacing="0" class="box_middle_tab">
                    <tr>
                        <td style="text-align: right; height: 30px;">办件类型：
                        </td>
                        <td style="text-align: left">
                            <asp:DropDownList ID="ddlSerialType" runat="server" onchange="changeSerialType()">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr id="trTjyt" style="display: none;">
                        <td style="text-align: right;">图件用途：
                        </td>
                        <td style="text-align: left;">
                            <%--<controlDefine:DropDownCheckList ID="ddclSelect" CssClass="dropdownlist" runat="server"
                            DropDownMode="OnTop" Width="170" Height="25" DisplayTextWidth="170">
                        </controlDefine:DropDownCheckList>--%>
                            <uc2:GeneralSelect ID="ddclSelect" Name="图件类别" FirstEmpty="true" ValidateEmpty="false" runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align: right; height: 30px;">申请人：
                        </td>
                        <td style="text-align: left">
                            <uc1:PopupSelect ID="psSqr" height="30" runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2" style="text-align: center;">
                            <asp:RadioButtonList ID="radioArray" runat="server" align="center" RepeatDirection="Horizontal">
                                <asp:ListItem Selected="True" Value="0">转到待办事项列表</asp:ListItem>
                                <asp:ListItem Value="1">继续接件</asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2" style="text-align: center">
                            <asp:Button ID="btnProcess" runat="server" Text="提交" OnClick="btnProcess_Click" class="NewButton" />
                        </td>
                    </tr>
                </table>
            </div>
        </div>
    </form>
</body>
</html>
